package com.game.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.game.entity.GameRecord;

public interface GameRecordRepository extends JpaRepository<GameRecord, Long> {
    List<GameRecord> findByPlayerIdsContaining(Long playerId);
    List<GameRecord> findByRoomId(String roomId);
} 